public class p114_4 {
public static void main (String args[]) {
	p114_2 zhang=new p114_2();
	zhang.age=17;
	zhang.number=100101;
	zhang.showPeopleMess();
	zhang.tellNumber();
	int x=9,y=29;
	System.out.printf("会做加法");
	int result=zhang.add(x,y);
	System.out.printf("%d+%d=%d\n",x,y,result);
	p114_3 geng=new p114_3();
	geng.age=21;
	geng.number=6609;
	geng.showPeopleMess();
	geng.tellNumber();
	System.out.printf("会做加法");
	result=geng.add(x,y);
	System.out.printf("%d+%d=%d\n",x,y,result);
	System.out.printf("会做乘法");
	result=geng.multi(x,y);
	System.out.printf("%d*%d=%d\n",x,y,result);
	}
}
